<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
    <?php
/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
        $html = 80;
        $js = 99;
        $wybj = 80;
        $Ave = ($html + $js + $wybj)/3 ;
        
        define('PI',3.14);
        define('DRPAIH','c:/wamp/www/');
        echo DRPAIH . "bbs/index2.php ";
        const pi01 = 3.1415;
        echo pi01;
     ?>
    <table>
        <tr>
            <th>课程</td>
            <th>分数</th>
        </tr>
        <tr>
            <td>html</td>
            <td><?php echo $html;?></td>
        </tr>
        <tr>
            <td>javascript</td>
            <td><?php echo $js; ?></td>
        </tr>
        <tr>
            <td>网页布局</td>
            <td><?php echo $wybj; ?></td>
        </tr>
        <tr>
            <td>平均分</td>
            <td><?php echo $Ave; ?></td>
        </tr>
    </table>
    
</body>
</html>
 